package com.boot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户角色关系
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_roles_permissions")
public class RolePermssion implements Serializable {
    @TableField(value = "role_id")
    private Long roleId;
    @TableField(value = "permission_id")
    private Long permissionId;
}
